package com.easytopit.demo.service;

import com.easytopit.demo.domain.Cinema;
import com.easytopit.demo.exception.BizException;

/**
 * @author YWQ
 *
 */
public interface CinemaService {

	/**
	 * 录入影院
	 * @param name
	 * @param address
	 * @param phone
	 * @param features
	 * @param quantity
	 * @param hallName
	 * @param score
	 */
	public Cinema add(String name,String address, String phone, String features, Integer quantity,String hallName,Double score) throws BizException;
	
	/**
	 * 修改影院信息
	 * @param name
	 * @param address
	 * @param phone
	 * @param features
	 * @param quantity
	 * @param hallName
	 * @param score
	 * @return
	 */
	public Integer update(String name,String address, String phone, String features, Integer quantity,String hallName,Double score) throws BizException;
}